package com.stm.bi.service;

import com.stm.bi.dto.query.ods.OdsProductInventoryQry;
import com.stm.bi.model.DatatablePage;
import com.stm.bi.report.WarehouseQueryExe;
import com.stm.framework.dto.Response;
import com.stm.framework.model.CustomizePage;
import com.stm.saas.dto.query.WarehousePageQry;
import com.stm.saas.dto.query.WarehouseRecordListQry;
import com.stm.saas.dto.vo.WarehouseQueryVO;
import com.stm.saas.dto.vo.WarehouseRecordVO;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 仓库信息-服务
 *
 * @author zhouyuanpeng
 * @date 2023-10-17
 */
@Service
public class WarehouseService {
    @Resource
    private WarehouseQueryExe warehouseQueryExe;


    /**
     * 查询页面
     *
     * @param warehousePageQry
     */
    public Response<CustomizePage<WarehouseQueryVO>> selectPage(WarehousePageQry warehousePageQry) {
        return warehouseQueryExe.selectPage(warehousePageQry);
    }

    public Response<DatatablePage> selectWarehouseInventory(String warehouseCode, String year) {
        return warehouseQueryExe.selectWarehouseInventory(warehouseCode, year);
    }


}
